package com.hllxd.hism.star.basic.service.service;


import com.hllxd.hism.star.basic.service.model.smart.TblSmartDqEntity;
import com.hllxd.hism.star.basic.service.model.smart.TblSmartDqTreeRoot;
import com.hllxd.hism.star.basic.service.model.smart.TblSmartQueryEntity;

import java.util.List;

public interface SmartDqService {


    List<TblSmartDqTreeRoot> searchTableTree(String search);

    List<TblSmartDqEntity> listLogicTable(String search);

    TblSmartDqEntity getLogicTable(Long tableId, String tableName);

    Long setLogicTable(TblSmartDqEntity entity);

    void delLogicTable(Long id);


    List<TblSmartQueryEntity> listQueryCmd(String search);

    TblSmartQueryEntity getQueryCmd(Long id, String code);

    Long setQueryCmd(TblSmartQueryEntity entity);

    void delQueryCmd(Long id);


    Object query(String cmd, String config, String code, Long id, String owner);
}
